const mock = require('mockjs')

let friends = ["aaa", "bbb", "ccc", "ddd"]

const random = mock.Random
let data = {
    email: random.email(),
    image: random.image(),
    name: random.cname(),
    url: random.url(),
    address: random.city(),
    friend: random.pick(friends)
}

console.log(JSON.stringify(data));